<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

</head>
<body>
<script src="/static/common/js/jquery1.42.min.js" type="text/javascript"></script>
<script src="/static/common/js/common_js.js" type="text/javascript"></script>
<script src="/static/common/js/footer.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/static/con/css/style.css" />
<link rel="stylesheet" type="text/css" href="/static/con/css/shopping-mall-index.css" />
<script type="text/javascript" src="/static/con/js/jquery.js"></script>
<script src="/static/common/js/jquery.SuperSlide.2.1.1.js" type="text/javascript"></script>
<script type="text/javascript" src="/static/con/js/zhonglin.js"></script>
<script type="text/javascript" src="/static/con/js/zhongling2.js"></script>
<script type="text/javascript" src="/static/con/js/jquery.provincesCity.js"></script>
<script type="text/javascript" src="/static/con/js/provincesData.js"></script>
<script type="text/javascript" src="/static/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="/static/h-ui.admin/js/H-ui.admin.js"></script>
<link href="/static/common/css/page.css" rel="stylesheet" type="text/css" />
<link href="/static/common/css/common.css" rel="stylesheet" type="text/css" />
<link href="/static/common/css/style.css" rel="stylesheet" type="text/css" />
<!--顶部样式-->
<div id="top">
    <div class="top" style="height: 0px">
        <div class="Collection"><em></em><a href="#">收藏我们</a></div>
        <div class="hd_top_manu clearfix">
            <ul class="clearfix">
                {if condition="session('?UserXinxi') == false"}
                    <li class="hd_menu_tit zhuce" data-addclass="hd_menu_hover">欢迎光临本店！<a href="{:url('home/Login/index')}" class="red">[请登录]</a> 新用户<a href="{:url('home/User/add')}" class="red">[免费注册]</a></li>
                {else /}<li class="hd_menu_tit zhuce" data-addclass="hd_menu_hover">欢迎光临本店！<a href="{:url('home/User/userInfo')}" class="red">个人信息</a><a href="{:url('home/User/loginOut')}" class="red">退出登录</a></li>

                <li class="hd_menu_tit" data-addclass="hd_menu_hover"><a href="/home/commodity/orderlook">我的订单</a></li>
                <li class="hd_menu_tit hd_Shopping_Cart" data-addclass="hd_menu_hover">
                    <a href="{:url('home/commodity/cart')}" class="hd_menu">查看购物车(<b class="eee">0</b>)</a>
                </li>
                {/if}
            </ul>
        </div>
    </div>
</div>
<div id="header"  class="header">
    <div class="logo"><a href="#"><img src="/static/common/images/logo.png" /></a></div>
    <div class="Search">
        <p><input name="" type="text"  class="text"/><input name="" type="submit" value="搜索"  class="Search_btn"/></p>

    </div>

</div>
<!--导航栏样式-->
<div id="Menu">
    <div class="Menu_style">

        <!--菜单栏-->
        <div class="Navigation" id="Navigation">
            <ul class="Navigation_name">
                <li><a href="{:url('home/index/index')}">首页</a></li>
                {foreach $columnInfo as $vo}
                <li><a href="{:url('home/commodity/lists')}?cid={$vo.id}">{$vo.title}</a></li>
                {/foreach}
            </ul>
        </div>
        <script>$("#Navigation").slide({titCell:".Navigation_name li"});</script>
        <!--购物车-->
        <div class="Shopping_car">
            <em></em> 购物车(<b class="eee">0</b>)
        </div>
    </div>
</div>


<!--正文-->
{__CONTENT__}




<script>

    $.ajax({
        type:'post',
        url:'{:url('home/commodity/cartNum')}',
        dataType:'json',

        success:function(data){
            $('.eee').text(data)
        }
    })


</script>


</body>
</html>